<?php
$db_host = 'localhost:3306'; // Server Name
$db_user = 'root'; // Username
$db_pass = 'root'; // Password
$db_name = 'pulti'; // Database Name

$conn = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
	
//mysqli_set_charset("utf8");
mysqli_query($conn, "SET NAMES utf8");
//mysqli_query($conn, "SET NAMES cp1251");

if (!$conn) {
	           die ('Failed to connect to MySQL: ' . mysqli_connect_error());	
            }
?>